package com.clkj.xiuzheng.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.List;

/**
 * @author yawang
 */
@ApiModel( value ="t_cl_outStock" )
@Table( name ="t_cl_outStock" )
public class OutStock  implements Serializable {

    @Id
   	@Column(name = "out_id",updatable = false )
	@ApiModelProperty( value="null")
	private Integer outId;

	/**
	 * 客户Id
	 */
   	@Column(name = "customer_id" )
	@ApiModelProperty( value="客户Id")
	private Integer customerId;

	/**
	 * 业务员Id
	 */
   	@Column(name = "user_id" )
	@ApiModelProperty( value="业务员Id")
	private Integer userId;

	/**
	 * 商品总数
	 */
   	@Column(name = "product_num" )
	@ApiModelProperty( value="商品总数")
	private Integer productNum;

	/**
	 * 实际销售额
	 */
   	@Column(name = "total_money" )
	@ApiModelProperty( value="实际销售额")
	private Double totalMoney;

	/**
	 * 发票信息
	 */
   	@Column(name = "invoice" )
	@ApiModelProperty( value="发票信息")
	private String invoice;

	/**
	 * 备注
	 */
   	@Column(name = "out_note" )
	@ApiModelProperty( value="备注")
	private String outNote;

	/**
	 * 订单编号
	 */
   	@Column(name = "out_number" )
	@ApiModelProperty( value="订单编号")
	private String outNumber;

	/**
	 * 下单时间
	 */
   	@Column(name = "out_date" )
	@ApiModelProperty( value="下单时间")
	private String outDate;

	/**
	 * 审核状态 0未审核 1已审核
	 */
   	@Column(name = "apply_status" )
	@ApiModelProperty( value="审核状态 0未审核 1已审核")
	private Integer applyStatus;

   	@Column(name = "company_id" )
	@ApiModelProperty( value="null")
	private Integer companyId;

    @Column(name = "logistics_company" )
    @ApiModelProperty( value="物流公司")
    private String logisticsCompany;

    @Column(name = "logistics_tracking" )
    @ApiModelProperty( value="物流单号")
    private String logisticsTracking;

    @Column(name = "shipping_status" )
    @ApiModelProperty( value="发货状态")
    private Integer shippingStatus;





   	private List<OutStockItem> itemList;
   	@Transient
    private String customerName;
       //客户名称
    @Transient
    private String customerShopName ;
    @Transient
    private String customerAddress;
    @Transient
    private String customerTel;
    @Transient
    private String customerImg;
      //联系人名称
    @Transient
    private String userName;

  public Integer getOutId() {
    return outId;
  }

  public void setOutId(Integer outId) {
    this.outId = outId;
  }


  public Integer getCustomerId() {
    return customerId;
  }

  public void setCustomerId(Integer customerId) {
    this.customerId = customerId;
  }


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public Integer getProductNum() {
    return productNum;
  }

  public void setProductNum(Integer productNum) {
    this.productNum = productNum;
  }


  public Double getTotalMoney() {
    return totalMoney;
  }

  public void setTotalMoney(Double totalMoney) {
    this.totalMoney = totalMoney;
  }


  public String getInvoice() {
    return invoice;
  }

  public void setInvoice(String invoice) {
    this.invoice = invoice;
  }


  public String getOutNote() {
    return outNote;
  }

  public void setOutNote(String outNote) {
    this.outNote = outNote;
  }


  public String getOutNumber() {
    return outNumber;
  }

  public void setOutNumber(String outNumber) {
    this.outNumber = outNumber;
  }


  public String getOutDate() {
    return outDate;
  }

  public void setOutDate(String outDate) {
    this.outDate = outDate;
  }


  public Integer getApplyStatus() {
    return applyStatus;
  }

  public void setApplyStatus(Integer applyStatus) {
    this.applyStatus = applyStatus;
  }


  public Integer getCompanyId() {
    return companyId;
  }

  public void setCompanyId(Integer companyId) {
    this.companyId = companyId;
  }


    public List<OutStockItem> getItemList() {
        return itemList;
    }

    public void setItemList(List<OutStockItem> itemList) {
        this.itemList = itemList;
    }

    public String getCustomerShopName() {
        return customerShopName;
    }

    public void setCustomerShopName(String customerShopName) {
        this.customerShopName = customerShopName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerAddress() {
        return customerAddress;
    }

    public void setCustomerAddress(String customerAddress) {
        this.customerAddress = customerAddress;
    }

    public String getCustomerTel() {
        return customerTel;
    }

    public void setCustomerTel(String customerTel) {
        this.customerTel = customerTel;
    }



    public Integer getShippingStatus() {
        return shippingStatus;
    }

    public void setShippingStatus(Integer shippingStatus) {
        this.shippingStatus = shippingStatus;
    }

    public String getLogisticsCompany() {
        return logisticsCompany;
    }

    public void setLogisticsCompany(String logisticsCompany) {
        this.logisticsCompany = logisticsCompany;
    }

    public String getLogisticsTracking() {
        return logisticsTracking;
    }

    public void setLogisticsTracking(String logisticsTracking) {
        this.logisticsTracking = logisticsTracking;
    }

    public String getCustomerImg() {
        return customerImg;
    }

    public void setCustomerImg(String customerImg) {
        this.customerImg = customerImg;
    }
}
